600
How can include the values in the inner cells in the drop down filter window

OBJECT column,gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( gantt , "DrawGridLines", -2);
_ObjectCallMethod( _ObjectGetProperty( gantt , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod(gantt, "ExecuteTemplate", "Description(1) = ``");
_ObjectCallMethod(gantt, "ExecuteTemplate", "Description(2) = ``");
column = _ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Single Column");
	_ObjectSetProperty( column , "HTMLCaption", "Single column with <b>inner cells</b>");
	_ObjectSetProperty( column , "ToolTip", "Click the drop down filter button, and the filter list includes the inner cells values too.");
	_ObjectSetProperty( column , "DisplayFilterButton", -1);
	_ObjectSetProperty( column , "DisplayFilterPattern", 0);
	_ObjectSetProperty( column , "FilterList", 64);
_ObjectSetProperty( gantt , "ShowFocusRect", 0);
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	s = _ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.SplitCell(AddItem(`S 1.1`),0)");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,s")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", s)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.CellCaption(,s) = `S 1.2`");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.CellHAlignment(,s) = 1");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.CellBackColor(,s) = 16777216");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.CellWidth(,s) = 84");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	s = _ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.SplitCell(AddItem(`S 2.1`),0)");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,s")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", s)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.CellCaption(,s) = `S 2.2`");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.CellHAlignment(,s) = 1");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.CellWidth(,s) = 84");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	s = _ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.SplitCell(AddItem(`S 3.1`),0)");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,s")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", s)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.CellCaption(,s) = `S 3.2`");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.CellHAlignment(,s) = 1");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.CellBackColor(,s) = 16777216");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.CellWidth(,s) = 84");

599
How can I sort the value gets listed in the drop down filter window

OBJECT column,gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( gantt , "LinesAtRoot", -1);
_ObjectSetProperty( gantt , "MarkSearchColumn", 0);
_ObjectCallMethod(gantt, "ExecuteTemplate", "Description(0) = ``");
_ObjectCallMethod(gantt, "ExecuteTemplate", "Description(1) = ``");
_ObjectCallMethod(gantt, "ExecuteTemplate", "Description(2) = ``");
column = _ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "P1");
	_ObjectSetProperty( column , "DisplayFilterButton", -1);
	_ObjectSetProperty( column , "DisplayFilterPattern", 0);
	_ObjectSetProperty( column , "FilterList", 16);
column = _ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "P2");
	_ObjectSetProperty( column , "DisplayFilterButton", -1);
	_ObjectSetProperty( column , "DisplayFilterPattern", 0);
	_ObjectSetProperty( column , "FilterList", 32);
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Z3");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.CellCaption(h,1) = `C`");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.CellCaption(InsertItem(h,,`Z1`),1) = `B`");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.CellCaption(InsertItem(h,,`Z2`),1) = `A`");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ExpandItem(h) = True");

598
Is there a way to break the hours into 15 minute increments just showing lines instead of the minute numbers

OBJECT gantt,level;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( gantt , "BeginUpdate");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "2/5/2008");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "LevelCount", 3);
_ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Level(0).Label = `<b><%mmm%> <%dd%></b> <%yyyy%> `");
level = _ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Level(1)");
	_ObjectSetProperty( level , "Label", "<%hh%>");
	_ObjectSetProperty( level , "Alignment", 1);
level = _ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Level(2)");
	_ObjectSetProperty( level , "Label", "");
	_ObjectSetProperty( level , "Unit", 1048576);
	_ObjectSetProperty( level , "Count", 15);
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "UnitWidth", 6);
_ObjectCallMethod( gantt , "EndUpdate");

597
How can I change the visual appearance of the milestone bar using EBN

OBJECT appearance,bar,chart,gantt,items;

gantt =  ObjectByName("AN1") ;
appearance = _ObjectGetProperty( gantt , "VisualAppearance");
	_ObjectCallMethod( appearance , "Add", 1,"gBFLBCJwBAEHhEJAEGg4BKMMQAAYAQGKIYBkAKBQAGaAoDDMMILQiMQwjRBMKgBBCLIxiGK4DhiF4aRTHUKAAKQahLEaSZLhEZRQiqA4sS5FQBSBDQFwSByEY6mSaYJ" +
	"AWK4tCyNM7SfQAbxnAgYaLAAYRUjuHZOTZAc4UfAdFL/K4AKrfeZIeAiCRQGiYZyHKaRShjDwXKLIIjbJhkNoJChCNQgBScPgxCx8JypaCaar2fjQM6zWAMdb2Cz7PjD" +
	"H7wPA1WYJRaDYjhcB4LheAqGXBWUYLYb8XS3EKJYhiWA4HjqFjGJpcEzPbRiNx3H6SABlLLaLo7JpGO52FrTHZjXyzLqBVpoOyEbrmcozYzjN41RpWETfQYDcwteqcLp" +
	"rhGVZrm6dp8j4bAnDQP5Uh+OpcH6R4Lg2YJvEIeg6kWEoJB2ZZyG6GoLCSXxtG+IZ1GmfhJjcawNFWfB/h+V5pnUc5VhWeZ4BMX4jlySwtiAJodlEYRaBYFgHHgIA2gG" +
	"ExkFUdxFl6A5hgUbgXgcVRzFiXA3CICARAEgI");
	_ObjectCallMethod( appearance , "Add", 2,"CP:1 -6 0 5 0");
chart = _ObjectGetProperty( gantt , "Chart");
	_ObjectSetProperty( chart , "FirstVisibleDate", "1/1/2001");
	bar = _ObjectCallMethod( _ObjectGetProperty( chart , "Bars") , "Add", "MilestoneEBN");
		_ObjectSetProperty( bar , "Color", 33554432);
		_ObjectSetProperty( bar , "Height", 14);
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Tasks");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Milestone"),"Milestone","1/2/2001","1/2/2001 12:00:01 AM");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Milestone EBN "),"MilestoneEBN","1/2/2001","1/2/2001 12:00:01 AM");

596
How can I change the visual appearance of the summary bar using EBN

OBJECT bar,chart,gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "VisualAppearance") , "Add", 1,"gBFLBCJwBAEHhEJAEGg4BGICg6AADACAxRDAMgBQKAAzQFAYZhhBaERiGEaIJhUAIIRZGMQxXAcMQvDSKQJhGDAADEMgyAJCIxjPIgZBoGqPBpASQJUhkMocR7HMygB" +
	"IkSRNA8kMwxdQEaw9ECRIDpGaYWTFDhsABTVQRLL0Tw9ISERqoSSaGgkCYaA7CNJ0PBNJSjJ6LJZGURbKqyCQ1DBbUB3BaUaQ9JaKa7pKa7cpWKIqSxEMrxcLFcT5DSb" +
	"YDxGjLEhmPZBVZQNBxtJbFQHWJCNgzVAdOAAfzQM70GpMQoWJYeVpEObSBD1dABTCBczADYoex7ID+aJuGiYVZdWxJOjfbhkTTIJAaCawABrWxR8iHN5paTnUpzDjwbg" +
	"0kqRRyr+XwjA8Go/HSBp6g6KJTFcGpWmYdg8H6dJTH0EZelueBfBuLwyBMd50nIfR+kmXB4BECQUAaEYMHQHRHCGFRYI2ZAwEIExghQZA2EIQoGGoEhOgGBBYlAeYYHM" +
	"WJcDcGx4HYHoHmICIFjeBohkaDAAC2DAjBYJIIiKSI2CSC5hjQJBsCOCwYiIKoGmKWJkn6DANkiWgzCwYwolAcQkksWJaCuDohlicg2hDQR+EELBInKcJohMJBomILoG" +
	"mISQuESFBOgkOQDg+SoTEyfoXCUSImDyGZhjkaI1hcJgTnoXgACYCYKG2GQkEkVJchKIoZDIbIciYKY+HEP4mlmThSg+aBIlKBYUCUKgGHyG4jEkPoKiAKI6D6EokGkS" +
	"gyECF5jEKVJZD+aYqHKG4nGoCh+iKJ4qEqBokh+KYag6JoqmqKo2iWJpqgKRJHDiT5qk6NYtCsapmjiLprHqdo6i8awan6QovCwOp6kSLQsBsHpGjKbBbBaMYhm0Cgal" +
	"ILBtBsUpTiGUIUAQgIA==");
chart = _ObjectGetProperty( gantt , "Chart");
	_ObjectSetProperty( chart , "FirstVisibleDate", "1/1/2001");
	bar = _ObjectCallMethod( _ObjectGetProperty( chart , "Bars") , "Copy", "Task","Summary");
		_ObjectSetProperty( bar , "Color", 16777216);
		_ObjectSetProperty( bar , "Height", 16);
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Tasks");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Task 1"),"Task","1/2/2001","1/4/2001");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Task 2"),"Summary","1/5/2001","1/7/2001");

595
How can I change the visual appearance of the task bar using EBN

OBJECT bar,chart,gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "VisualAppearance") , "Add", 1,"gBFLBCJwBAEHhEJAEGg4BGoCg6AADACAxRDAMgBQKAAzQFAYZhhBaERiGEaIJhUAIIRZGMQxXAcMQvDSKQJhGLhQiSJoJDSBEgSXDIZQ5D6OZYACDJQACJYJTbAYzyP" +
	"JkPRAA6EZCmGAwCglf5HABRb7xNLkbQ8GySKJnWCQJhoD5BSLCNRUTRFFQtGgZBpEWwLCjQNQwWLKFoTJIEPSBDKqYDoKYqTgOOZOThHQz3HakQRdAa/ZpnaKpUo2d47" +
	"XjMWBwGA0EzeAAGaxoShqdoiFaGU7UOJVJBOGwHK6BchoMAKbp6XoVWRaOAWLZWVABM7XLZxbLccyGfZ1XhdV5UbqUMznR7PNrjLKIJpCOJbbyAFwgBaeQABYLhK7iHR" +
	"mi8XYwjMWpjFWOx1GIB5LmgdB4HCEBECSIBpDGHQOicIwokYPImikEIJj6eJIloEgogSc40FGcJEFiYZIG2VIoAURw1g2QxyAQNwNAMPJOgIYI4CoDIBmAeAKBIUpQDU" +
	"KJYDoTpIB4vxgmgdgNgeYZDDoFw7CEJhQn+BohmKfImCWSZRlgYwikYMQ0gwF4DniTA/gwBJYjQYwsgoIg6AyCRQDiIJODAZBImoOguAmMZ4lQLIJjOMI3CYZJpEIT4K" +
	"iKSI6DqD5ZGAAgHC2DAjBYR4SGUGYGE+GIlCmFhRhIB5iFAbwWsiJgMhoCoxngV4ZCcSYOHaGYnHmIg8COJpoCoOISmSWZeHWHgoEkRoAg4EIYB4NogmiSgKg6GRjGoJ" +
	"gFh+ZJKDaBYjmgaQygiBRUHmbhoDsTAyiqIIoioGoOw8aoKhKKoemeOIaAeF5HmqHoqiyKxKgYaN/locgBiuZRojoVIok8cwsjaMBLGqDoAhGIpoEYWYEmAIxUkQLZmg" +
	"iYg2g2I4JiCQwuAqWIOIkEAQICA==");
chart = _ObjectGetProperty( gantt , "Chart");
	_ObjectSetProperty( chart , "FirstVisibleDate", "1/1/2001");
	bar = _ObjectCallMethod(gantt, "ExecuteTemplate", "chaObj.Bars.Item(`Task`)");
		_ObjectSetProperty( bar , "Color", 16777216);
		_ObjectSetProperty( bar , "Height", 16);
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Tasks");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Task 1"),"Task","1/2/2001","1/4/2001");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Task 2"),"Task","1/5/2001","1/7/2001");

594
How can I change the visual appearance of the task bar using EBN

OBJECT bar,chart,gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "VisualAppearance") , "Add", 1,"gBFLBCJwBAEHhEJAEGg4BZsIQAAYAQGKIYBkAKBQAGaAoDDMMILQiMQwjRBMKgBBCLIxiGK4DhiGoZATCMbDBIcSwSGgCJCjeS4ZDKHIXSxFUKTBAcSQTGyBRokaYZR" +
	"i6A4+TRPETTWAEcABHSbQCoKTKAoCHpLQLMYxDKItJSpGYaRgqWCaZpuUIaUzKVbxbK9CSMGiQbIsOJrBqqQozWZHVITLR9VgBNqga7uGR5DoqdovU5dVTVda9Ly5LSs" +
	"MQvfALCqOe45URdNp3RiVBYfI6+cZvfJLWh4NqeAbCMC1UJoYhlUKCBg0TRoVo9AIDX5QWaYXC0AkBA==");
chart = _ObjectGetProperty( gantt , "Chart");
	_ObjectSetProperty( chart , "FirstVisibleDate", "1/1/2001");
	bar = _ObjectCallMethod(gantt, "ExecuteTemplate", "chaObj.Bars.Item(`Task`)");
		_ObjectSetProperty( bar , "Color", 16777216);
		_ObjectSetProperty( bar , "Height", 16);
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Tasks");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Task 1"),"Task","1/2/2001","1/4/2001");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Task 2"),"Task","1/5/2001","1/7/2001");

593
How can I clip the HTML text or caption inside the bar

OBJECT bar,gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
bar = _ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Bars.Item(`Task`)");
	_ObjectSetProperty( bar , "Pattern", 32);
	_ObjectSetProperty( bar , "Height", 13);
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/6/2001","K1","This is a bit of text that get's clipped");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,4) = 3");

592
How can I align the text/caption on the scroll bar

OBJECT gantt;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod(gantt, "ExecuteTemplate", "ScrollPartCaption(1,512) = `left`");
_ObjectCallMethod(gantt, "ExecuteTemplate", "ScrollPartCaptionAlignment(1,512) = 0");
_ObjectCallMethod(gantt, "ExecuteTemplate", "ScrollPartCaption(1,128) = `right`");
_ObjectCallMethod(gantt, "ExecuteTemplate", "ScrollPartCaptionAlignment(1,128) = 2");
_ObjectSetProperty( gantt , "ColumnAutoResize", 0);
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", 1);
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", 2);
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", 3);
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", 4);

591
How do I programmatically control the position of the horizontal scroll bar in the chart area, so I can specify a range of dates to scorll within

OBJECT chart,gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( gantt , "BeginUpdate");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
chart = _ObjectGetProperty( gantt , "Chart");
	_ObjectSetProperty( chart , "LevelCount", 2);
	_ObjectCallMethod(gantt, "TemplatePut", "Dim chaObj")
	_ObjectCallMethod(gantt, "TemplatePut", chart)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "chaObj.PaneWidth(0) = 56");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "chaObj.ScrollRange(0) = #1/1/2001#");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "chaObj.ScrollRange(1) = #1/31/2001#");
	_ObjectSetProperty( chart , "FirstVisibleDate", "1/12/2001");
_ObjectCallMethod(gantt, "ExecuteTemplate", "ScrollPartCaption(2,512) = Chart.ScrollRange(0)");
_ObjectCallMethod(gantt, "ExecuteTemplate", "ScrollPartCaptionAlignment(2,512) = 0");
_ObjectCallMethod(gantt, "ExecuteTemplate", "ScrollPartCaption(2,128) = Chart.ScrollRange(1)");
_ObjectCallMethod(gantt, "ExecuteTemplate", "ScrollPartCaptionAlignment(2,128) = 2");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/15/2001","1/18/2001","K1");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/5/2001","1/11/2001","K1");
_ObjectCallMethod( gantt , "EndUpdate");

590
How can I programmatically control the position of the "splitter" between the item list on the left side and the gantt chart on the right

OBJECT gantt;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.PaneWidth(True) = 196");

589
How can I add a milestone bar and some text in the chart area

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Milestone","1/2/2001","1/2/2001","","<a1>text</a> outside");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,,4) = 18");

588
How can I display or align the bar's caption or text outside of the bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectSetProperty( gantt , "DefaultItemHeight", 32);
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/3/2001","1/5/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,3) = `<b>to do</b>`");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,4) = 18");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,5) = 16");

587
How can I display or align the bar's caption or text outside of the bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/4/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,3) = `to do`");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,4) = 16");

586
How can I display or align the bar's caption or text outside of the bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,3) = `to do `");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,4) = 18");

585
Is there any option to count the non-working days
OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( gantt , "BeginUpdate");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2002");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2002","1/4/2002","A");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	var_ItemBar = _ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`A`,258)");
_ObjectCallMethod( gantt , "EndUpdate");

584
Is there any option to count or to specify the working days
OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( gantt , "BeginUpdate");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2002");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2002","1/4/2002","A");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	var_ItemBar = _ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`A`,257)");
_ObjectCallMethod( gantt , "EndUpdate");

583
How do I select the next row/item

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddItem", "Item 1");
	_ObjectCallMethod( items , "AddItem", "Item 2");
	_ObjectCallMethod( items , "AddItem", "Item 3");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.SelectItem(NextVisibleItem(FocusItem)) = True");

582
How do I define the visual appearance of the bar by using your EBN/skin files

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Copy", "Task","EBN") , "Color", 16777216);
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"EBN","1/2/2001","1/4/2001");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 2"),"Task","1/2/2001","1/4/2001");

581
Is it possible to have an "empty box" pattern for the bars

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Copy", "Task","Box") , "Pattern", 32);
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Box","1/2/2001","1/4/2001");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Task","1/2/2001","1/4/2001");

580
How do I enable resizing ( changing the height ) the items at runtime

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( gantt , "ItemsAllowSizing", -1);
_ObjectSetProperty( gantt , "DrawGridLines", 1);
_ObjectSetProperty( gantt , "ScrollBySingleLine", -1);
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Items") , "AddItem", "Item 1");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemHeight(AddItem(`Item 2`)) = 48");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Items") , "AddItem", "Item 3");

579
How do I enable resizing all the items at runtime

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( gantt , "ItemsAllowSizing", 1);
_ObjectSetProperty( gantt , "DrawGridLines", 1);
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Items") , "AddItem", "Item 1");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemHeight(AddItem(`Item 2`)) = 48");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Items") , "AddItem", "Item 3");

578
I'm trying to use the percentage display in my gantt's bars. Unfortunately, I don't see any percentage on the gantt chart

OBJECT bar,gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
bar = _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Copy", "Task","BarName");
	_ObjectSetProperty( bar , "Color", 255);
	_ObjectSetProperty( bar , "Pattern", 6);
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Add", "BarName%Progress") , "Shortcut", "Percent");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Percent","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,10) = 0.4");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,12) = True");

577
How I can show Months in Time Unit panel into Roman numerals

OBJECT gantt,level;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "LevelCount", 2);
_ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Level(0).Label = 0");
level = _ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Level(1)");
	_ObjectSetProperty( level , "Label", "<%mr%>");
	_ObjectSetProperty( level , "Unit", 16);

576
Can I show a bar with a different vertical position

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Opaque");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/6/2001","K1");
	h = _ObjectCallMethod( items , "AddItem", "Transparent and Opaque");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,15) = `-3`");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,16) = 80");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/3/2001","1/7/2001","K2");

575
How can I show transparent and opaque bars in the same chart

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Opaque");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/6/2001","K1");
	h = _ObjectCallMethod( items , "AddItem", "Transparent and Opaque");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,15) = `-3`");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,16) = 80");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/3/2001","1/7/2001","K2");

574
How can I draw bars using transparent colors

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "ShowTransparentBars", 60);
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Copy", "Task","TaskR") , "Color", 255);
_ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.PaneWidth(0) = 48");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Item 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/5/2001","A");
	_ObjectCallMethod( items , "AddBar", h,"TaskR","1/4/2001","1/7/2001","B");

573
Can I change the Task bar so it display a Progress or a Percent bar, but it is splitted when the task intersect a non working area

OBJECT chart,gantt,items;

gantt =  ObjectByName("AN1") ;
chart = _ObjectGetProperty( gantt , "Chart");
	_ObjectSetProperty( chart , "FirstVisibleDate", "1/1/2001");
	_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( chart , "Bars") , "Add", "Task%Progress:Split") , "Shortcut", "Task");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Item 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/16/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,10) = 0.15");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,12) = True");

572
Can I change the Task bar so it display a Progress or a Percent bar

OBJECT chart,gantt,items;

gantt =  ObjectByName("AN1") ;
chart = _ObjectGetProperty( gantt , "Chart");
	_ObjectSetProperty( chart , "FirstVisibleDate", "1/1/2001");
	_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( chart , "Bars") , "Add", "Task%Progress") , "Shortcut", "Task");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Item 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/5/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,10) = 0.15");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,12) = True");

571
How can I remove the filter

OBJECT column,gantt;

gantt =  ObjectByName("AN1") ;
column = _ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
	_ObjectSetProperty( column , "DisplayFilterButton", -1);
	_ObjectSetProperty( column , "FilterType", 1);
_ObjectCallMethod( gantt , "ApplyFilter");
_ObjectCallMethod( gantt , "ClearFilter");

570
I use the ShowEmptyBars property, but I display seconds from 15 to 15, and the bars are not shown correctly. What can I do

OBJECT chart,gantt,items,level;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( gantt , "BeginUpdate");
chart = _ObjectGetProperty( gantt , "Chart");
	_ObjectSetProperty( chart , "FirstVisibleDate", "1/1/2002");
	_ObjectSetProperty( chart , "LevelCount", 2);
	_ObjectCallMethod(gantt, "TemplatePut", "Dim chaObj")
	_ObjectCallMethod(gantt, "TemplatePut", chart)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "chaObj.Level(0).Label = 1048576");
	level = _ObjectCallMethod(gantt, "ExecuteTemplate", "chaObj.Level(1)");
		_ObjectSetProperty( level , "Label", "<%ss%>");
		_ObjectSetProperty( level , "Count", 15);
	_ObjectSetProperty( chart , "ShowEmptyBars", 15);
	_ObjectSetProperty( chart , "ShowEmptyBarsUnit", 16777216);
	_ObjectCallMethod(gantt, "ExecuteTemplate", "chaObj.PaneWidth(0) = 48");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/1/2002 12:00:15 AM","1/1/2002 12:00:15 AM","A");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/1/2002 12:01:15 AM","1/1/2002 12:01:30 AM","B");
	_ObjectCallMethod( items , "AddLink", "AB",h,"A",h,"B");
_ObjectCallMethod( gantt , "EndUpdate");

569
I need the bar works like in the MS Project, where task from 1/1/2001 to 1/1/2001 must display 1 day

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "ShowEmptyBars", 1);
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Task","1/1/2001","1/1/2001");

568
I have a bar that has the start and end date identical. Nothing is displayed. What can I do

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "ShowEmptyBars", 1);
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Task","1/2/2001","1/2/2001");

567
How can I display seconds and bars for 15 to 15

OBJECT gantt,items,level;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( gantt , "BeginUpdate");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2002 00:00");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "LevelCount", 2);
_ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Level(0).Label = 1048576");
level = _ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Level(1)");
	_ObjectSetProperty( level , "Label", "<%ss%>");
	_ObjectSetProperty( level , "Count", 15);
_ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.PaneWidth(0) = 48");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Copy", "Task","Task2") , "Color", 255);
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/1/2002 00:00:15","1/1/2002 00:00:45","A");
	_ObjectCallMethod( items , "AddBar", h,"Task2","1/1/2002 00:01:15","1/1/2002 00:01:45","B");
	_ObjectCallMethod( items , "AddLink", "AB",h,"A",h,"B");
_ObjectCallMethod( gantt , "EndUpdate");

566
How can I copy a predefined bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Copy", "Task","T2") , "Color", 255);
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"T2","1/2/2001","1/4/2001");

565
How can I define my own custom bar, using my icons or pictures

OBJECT bar,bars,gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( gantt , "Images", "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
bars = _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars");
	_ObjectCallMethod( bars , "AddShapeCorner", 12345,1);
	_ObjectCallMethod( bars , "AddShapeCorner", 22345,2);
	bar = _ObjectCallMethod( bars , "Add", "T2");
		_ObjectSetProperty( bar , "StartShape", 22345);
		_ObjectSetProperty( bar , "EndShape", 12345);
		_ObjectSetProperty( bar , "EndColor", 255);
		_ObjectSetProperty( bar , "Pattern", 2);
		_ObjectSetProperty( bar , "Color", 16711935);
		_ObjectSetProperty( bar , "Shape", 19);
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"T2","1/2/2001","1/4/2001");

564
How can I access a predefined bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Task","1/2/2001","1/4/2001");
_ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Bars.Item(`Task`).Color = 255");

563
How can I access a predefined bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Task","1/2/2001","1/4/2001");
_ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Bars.Item(`Task`).Color = 255");

562
How can I remove all predefined bars
OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Task","1/2/2001","1/4/2001");

561
How can I remove a predefined bar
OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Task","1/2/2001","1/4/2001");

560
How do I get the number of predefined bars
OBJECT gantt;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", _ObjectGetProperty( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Count"));

559
How can I change the height of the task bar

OBJECT bar,gantt,items;

gantt =  ObjectByName("AN1") ;
bar = _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Copy", "Task","T2");
	_ObjectSetProperty( bar , "Height", 24);
	_ObjectSetProperty( bar , "EndShape", 2);
	_ObjectSetProperty( bar , "EndColor", 255);
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Item 1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemHeight(h) = 28");
	_ObjectCallMethod( items , "AddBar", h,"T2","1/2/2001","1/4/2001");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 2"),"Task","1/2/2001","1/4/2001");

558
How can I change the ending shape for all task bars

OBJECT bar,gantt,items;

gantt =  ObjectByName("AN1") ;
bar = _ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Bars.Item(`Task`)");
	_ObjectSetProperty( bar , "EndShape", 1);
	_ObjectSetProperty( bar , "EndColor", 255);
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Task","1/2/2001","1/4/2001");

557
How can I change the height of the task bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( gantt , "DefaultItemHeight", 28);
_ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Bars.Item(`Task`).Height = 24");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Task","1/2/2001","1/4/2001");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 2"),"Task","1/2/2001","1/4/2001");

556
How can I change the starting shape for all task bars

OBJECT bar,gantt,items;

gantt =  ObjectByName("AN1") ;
bar = _ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Bars.Item(`Task`)");
	_ObjectSetProperty( bar , "StartShape", 1);
	_ObjectSetProperty( bar , "StartColor", 255);
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Task","1/2/2001","1/4/2001");

555
How can I change the height of the task bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Copy", "Task","T2") , "Height", 17);
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"T2","1/2/2001","1/4/2001");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 2"),"Task","1/2/2001","1/4/2001");

554
How can I change the height for all task bars

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Bars.Item(`Task`).Height = 17");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Task","1/2/2001","1/4/2001");

553
How can I change the color of the task bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Copy", "Task","T2") , "Color", 255);
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"T2","1/2/2001","1/4/2001");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 2"),"Task","1/2/2001","1/4/2001");

552
How can I change the color for all task bars

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Bars.Item(`Task`).Color = 255");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Task","1/2/2001","1/4/2001");

551
How can I change the shape for all task bars

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Bars.Item(`Task`).Shape = 4");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Task","1/2/2001","1/4/2001");

550
How can I change the shape of the task bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Copy", "Task","T2") , "Shape", 19);
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"T2","1/2/2001","1/4/2001");

549
How can I change the pattern or style for all task bars

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod(gantt, "ExecuteTemplate", "Chart.Bars.Item(`Task`).Pattern = 5");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"Task","1/2/2001","1/4/2001");

548
How can I change the pattern of the task bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Copy", "Task","T2") , "Pattern", 5);
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Column");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 1"),"T2","1/2/2001","1/4/2001");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Item 2"),"Task","1/2/2001","1/4/2001");

547
How can I add a percent bar in the chart area, so the task bar is splited for non working days or hours

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Add", "Task%Progress:Split") , "Shortcut", "TS");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"TS","1/2/2001","1/16/2001","P1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`P1`,10) = 0.14");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`P1`,12) = True");

546
How can I add a bar in the chart area, so the task bar is splited for non working days or hours

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Add", "Task:Split") , "Shortcut", "TS");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Task 1"),"TS","1/2/2001","1/16/2001");

545
How can I add a split bar in the chart area

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Task 1"),"Split","1/2/2001","1/6/2001");

544
How can I add a progress bar in the chart area

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Task 1"),"Progress","1/2/2001","1/6/2001");

543
How can I add a milestone bar in the chart area

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Task 1"),"Milestone","1/2/2001","1/2/2001");

542
How can I add a summary bar in the chart area

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Task 1"),"Summary","1/2/2001","1/6/2001");

541
How can I add a project summary bar in the chart area

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Task 1"),"Project Summary","1/2/2001","1/6/2001");

540
How can I add a deadline bar in the chart area

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Task 1"),"Deadline","1/2/2001","1/2/2001");

539
How can I add a task bar in the chart area

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	_ObjectCallMethod( items , "AddBar", _ObjectCallMethod( items , "AddItem", "Task 1"),"Task","1/2/2001","1/4/2001");

538
How can I assign a picture or an icon to a bar in the chart

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod(gantt, "ExecuteTemplate", "HTMLPicture(`p1`) = `c:\exontrol\images\zipdisk.gif`");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemHeight(h) = 48");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,3) = `<img>p1</img>`");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,4) = 2");

537
How can I assign a picture or an icon to a bar in the chart

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( gantt , "Images", "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,3) = `<img>1</img>`");

536
How can I display or add an anchor or a hyperlink in the link

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/1/2001","1/3/2001","K1");
	_ObjectCallMethod( items , "AddItem", "");
	_ObjectCallMethod( items , "AddItem", "");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,12) = `just <a1>link</a>`");

535
How can I display a picture or an icon on the link

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( gantt , "Images", "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/1/2001","1/3/2001","K1");
	_ObjectCallMethod( items , "AddItem", "");
	_ObjectCallMethod( items , "AddItem", "");
	_ObjectCallMethod( items , "AddItem", "");
	_ObjectCallMethod( items , "AddItem", "");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,12) = `just <img>1</img> link`");

534
How can I display a picture or an icon on the link

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod(gantt, "ExecuteTemplate", "HTMLPicture(`pic1`) = `c:\exontrol\images\zipdisk.gif`");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/1/2001","1/3/2001","K1");
	_ObjectCallMethod( items , "AddItem", "");
	_ObjectCallMethod( items , "AddItem", "");
	_ObjectCallMethod( items , "AddItem", "");
	_ObjectCallMethod( items , "AddItem", "");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,12) = `<img>pic1</img><br><br>just a link`");

533
How can I display some HTML text or caption on link

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/1/2001","1/3/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,12) = `L<b>1</b>`");

532
How can I assign a tooltip to a link

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/1/2001","1/3/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,12) = `L<b>1</b>`");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,13) = `This is a bit of text that's shown when the cursor hovers the link`");

531
Can I change the width or the size of the link

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,9) = 0");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,10) = 2");

530
Can I change the style of the link

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,9) = 4");

529
Can I change the color of the link

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,8) = 255");

528
Can I change the part of the bar where the link ends

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,6) = 1");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,7) = 1");

527
Can I change the part of the bar where the link starts

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,6) = 0");

526
How can I associate an extra data to a link

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,5) = `your data`");

525
How can I show or hide a specified link
OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,3) = False");

524
How can I get the key of the bar where the link end

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod( items , "AddItem", _ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,3)"));

523
How can I get the key of the bar where the link starts

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod( items , "AddItem", _ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,1)"));

522
How can I get the handle of the item where the link ends

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod( items , "AddItem", _ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,2)"));

521
How can I get the handle of the item where the link starts

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod( items , "AddItem", _ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,0)"));

520
How can I enumerate the links in the chart

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod( items , "AddLink", "L2",h2,"K2",h1,"K1");
	_ObjectCallMethod( items , "AddItem", _ObjectGetProperty( items , "FirstLink"));
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod( items , "AddItem", _ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.NextLink(FirstLink)"));

519
How can I access the properties and method of the link between two bars

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/1/2001","1/3/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.Link(`L1`,12) = `L<b>1</b>`");

518
How can I remove a link between two bars
OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod( items , "ClearLinks");

517
How can I remove a link between two bars
OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");
	_ObjectCallMethod( items , "RemoveLink", "L1");

516
How do I add a link between two bars

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h1 = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h1,"Task","1/2/2001","1/4/2001","K1");
	h2 = _ObjectCallMethod( items , "AddItem", "Task 2");
	_ObjectCallMethod( items , "AddBar", h2,"Task","1/5/2001","1/7/2001","K2");
	_ObjectCallMethod( items , "AddLink", "L1",h1,"K1",h2,"K2");

515
How do I find the number or count of bars in the item
OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/1/2001","1/2/2001","K1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/4/2001","1/6/2001","K2");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K2`,3) = ItemBar(h,,256)");

514
How can I assign any extra data to a bar in the chart
OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,17) = `your data`");

513
Is there any way to change the background color for percent value being displayed on the progress bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Add", "Task%Progress") , "Shortcut", "Percent");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Percent","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,10) = 0.35");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,12) = True");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,11) = `<bgcolor=FF0000> %p%</bgcolor>`");

512
Is there any way to change the color for percent value being displayed on the progress bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Add", "Task%Progress") , "Shortcut", "Percent");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Percent","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,10) = 0.35");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,12) = True");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,11) = `<fgcolor=FF0000>%p%</fgcolor>`");

511
Is there any way to change the font for percent value being displayed on the progress bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Add", "Task%Progress") , "Shortcut", "Percent");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Percent","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,10) = 0.35");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,12) = True");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,11) = `<b><font Tahoma;12>%%p</font></b>`");

510
Is there any way to align the percent value being displayed on the progress bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Add", "Task%Progress") , "Shortcut", "Percent");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Percent","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,10) = 0.75");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,12) = True");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,11) = `%p/100`");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,15) = 0");

509
Is there any way to change the format of the percent being displayed on the progress bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Add", "Task%Progress") , "Shortcut", "Percent");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Percent","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,10) = 0.4");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,12) = True");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,11) = `<b>%p/100</b>`");

508
How can I show or hide the percent value in the progress bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Add", "Task%Progress") , "Shortcut", "Percent");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Percent","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,10) = 0.4");
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,12) = True");

507
How can I change the percent value in a progress bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Add", "Task%Progress") , "Shortcut", "Percent");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Percent","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,10) = 0.4");

506
How can I add a percent bar

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Add", "Task%Progress");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task%Progress","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,10) = 0.4");

505
Can I add a bar in the chart, using your EBN files

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "VisualAppearance") , "Add", 1,"c:\exontrol\images\normal.ebn");
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"","1/2/2001","1/5/2001","K1"," EBN ");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,7) = 16777216");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/6/2001","1/8/2001","K2");

504
How can I change the background color of the bar in the chart

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
_ObjectSetProperty( _ObjectCallMethod( _ObjectGetProperty( _ObjectGetProperty( gantt , "Chart") , "Bars") , "Copy", "Task","TaskR") , "Color", 255);
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"TaskR","1/2/2001","1/6/2001","K1");

503
How can I change the background color of the bar in the chart

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,7) = 8421504");

502
How can I change the background color of the HTML text or caption of the bar in the chart

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/6/2001","K1");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,3) = `<bgcolor=FF0000> to do </bgcolor>`");

501
How can I change the foreground color of the HTML text or caption of the bar in the chart

OBJECT gantt,items;

gantt =  ObjectByName("AN1") ;
_ObjectCallMethod( _ObjectGetProperty( gantt , "Columns") , "Add", "Task");
_ObjectSetProperty( _ObjectGetProperty( gantt , "Chart") , "FirstVisibleDate", "1/1/2001");
items = _ObjectGetProperty( gantt , "Items");
	h = _ObjectCallMethod( items , "AddItem", "Task 1");
	_ObjectCallMethod( items , "AddBar", h,"Task","1/2/2001","1/6/2001","K1","t<fgcolor=0000FF>o</fgcolor> do");
	_ObjectCallMethod(gantt, "TemplatePut", "Dim iteObj,h")
	_ObjectCallMethod(gantt, "TemplatePut", items)
	_ObjectCallMethod(gantt, "TemplatePut", h)
	_ObjectCallMethod(gantt, "ExecuteTemplate", "iteObj.ItemBar(h,`K1`,8) = 16777215");